x86/IO-APIC: streamline level ack/end handling
authorJan Beulich <jbeulich@suse.com>
Thu, 20 Sep 2012 07:20:30 +0000 (09:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 20 Sep 2012 07:20:30 +0000 (09:20 +0200)
commit051e59b5c4fcb3a41328ff24012d1a99b5912812
tree9eb2c2b993dd375ce79b73baa33b28dbb0b0c308
parent367f6be33cfd9e6c91410c7d60ce0c0c7c44723f
x86/IO-APIC: streamline level ack/end handling

Rather than evaluating "ioapic_ack_new" on each invocation, and
considering that the two methods really have almost no code in common,
split the handlers.

While at it, also move ioapic_ack_{new,forced} into .init.data
(eliminating the single non-__init reference to the former).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c